﻿using PdfiumViewer;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace rpt
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            List<string> list = new List<string>();
            list.Add("1");
            list.Add("2");
            foreach (string s in list)
            {
                ////pdfViewer1.Document = PdfDocument.Load(Application.StartupPath + "\\" + s + ".pdf");
                //PdfViewer pdfViewer = new PdfViewer();
                //pdfViewer.Document = PdfDocument.Load(Application.StartupPath + "\\" + s + ".pdf");
                Form3 form3 = new Form3(s);
                form3.ShowDialog();
            }
        }
    }
}
